package com.anolesoft.yr.mbus.cont.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.anolesoft.yr.mbus.cont.dao.ContProdRelDao;
import com.anolesoft.yr.mbus.cont.entity.ContProdRelExample;
import java.util.List;
import com.anolesoft.yr.mbus.cont.entity.ContProdRel;
@Service
public class ContProdRelService extends ServiceImpl<ContProdRelDao, ContProdRel> {

    
    public long countByExample(ContProdRelExample example) {
        return baseMapper.countByExample(example);
    }
    
    public int deleteByExample(ContProdRelExample example) {
        return baseMapper.deleteByExample(example);
    }
    
    public List<ContProdRel> selectByExample(ContProdRelExample example) {
        return baseMapper.selectByExample(example);
    }
    
    public int updateByExampleSelective(ContProdRel record,ContProdRelExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    
    public int updateByExample(ContProdRel record,ContProdRelExample example) {
        return baseMapper.updateByExample(record,example);
    }
    
    public int updateBatch(List<ContProdRel> list) {
        return baseMapper.updateBatch(list);
    }
    
    public int updateBatchSelective(List<ContProdRel> list) {
        return baseMapper.updateBatchSelective(list);
    }
    
    public int batchInsert(List<ContProdRel> list) {
        return baseMapper.batchInsert(list);
    }
    
    public int insertOrUpdate(ContProdRel record) {
        return baseMapper.insertOrUpdate(record);
    }
    
    public int insertOrUpdateSelective(ContProdRel record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}
